<div class="container">
	<form action="<?=WEB_PATH?>/admin/phone/uploadimg/id/<?=$this->id?>" enctype="multipart/form-data" method="post">
	<div class="row">
		<div class="col-xs-9">
			<div class="panel panel-success">
				<div class="panel-heading">
					<b>Upload hình ảnh</b>
				</div>
				<div class="panel-body">
					<?php if ($this->errors) {?>
						<?php foreach($this->errors as $error) {?>
							<div class="alert alert-danger"><?=$error?></div>
						<?php }?>
					<?php }?>
					<input type="hidden" name="MAX_FILE_SIZE" value="40000" />
        				Choose a file to upload: 
        			<input name="image-file" type="file" />
   					<br />
   					<input type="submit" class="btn btn-success" value="Lưu">		
					<a class="btn btn-success" href="<?=WEB_PATH?>/admin/phone/id/<?=$this->id?>">Back</a>
				</div>
			</div>
		</div>
	</div>
	</form>
</div>